package com.oocl.service;



import java.io.IOException;
import java.util.Map;

import com.oocl.entity.Merchants;
import com.oocl.vo.MerchantsVo;

public interface  MerchantsService {
    public void addMerchant(Map<String,Object> param) throws IllegalStateException, IOException;
    
    
    public int updateMerchantFromA(Merchants m) throws Exception;
    
    
    public MerchantsVo loginCheck(Merchants m);//登录用
    
    
    public MerchantsVo findByMid(String mid);
    
    
    public MerchantsVo findByIcnum(String icnum);
    
	public void updateMerchantForRegister(Map<String,Object> param) throws Exception;
     
	public void updateMerchant(Merchants m) throws Exception;
}
